package cn.yunhe.dubbo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;

@RestController
public class UserController {
	
	@Reference
	private IUserManage ium;
	
	@RequestMapping("/add")
	public String add(){
		System.out.println("去添加");
		ium.addUser();
		return "Ok";
	}
	

}
